<template>
  <default-home-card icon="SmileOutlined" title="联系我们">
    <div class="app-qr-box">
      <div class="app-qr">
        <img :src="wechat" />
        <span class="qr-desc strong"> 微信 </span>
        <span class="qr-desc">欢迎</span>
      </div>
      <div class="app-qr">
        <img :src="xiaozhen" />
        <span class="qr-desc strong">Smart</span>
        <span class="qr-desc">永远年轻，永远前行</span>
      </div>
    </div>
  </default-home-card>
</template>
<script setup lang="ts">
import DefaultHomeCard from '/@/views/system/home/components/default-home-card.vue';
import wechat from '/@/assets/images/platform/wechat.png';
import xiaozhen from '/@/assets/images/platform/gzh.png';
</script>
<style lang="less" scoped>
.app-qr-box {
  display: flex;
  height: 150px;
  align-items: center;
  justify-content: space-around;

  .app-qr {
    display: flex;
    align-items: center;
    width: 33%;
    justify-content: center;
    flex-direction: column;

    >img {
      width: 100%;
      max-width: 120px;
      height: 100%;
      max-height: 120px;
    }

    .strong {
      font-weight: 600;
    }

    .qr-desc {
      display: flex;
      align-items: center;
      font-size: 12px;
      text-align: center;
      overflow-x: hidden;

      >img {
        width: 15px;
        height: 18px;
        margin-right: 9px;
      }
    }
  }
}

.ant-carousel :deep(.slick-slide) {
  text-align: center;
  height: 120px;
  line-height: 120px;
  width: 120px;
  background: #364d79;
  overflow: hidden;
}

.ant-carousel :deep(.slick-slide h3) {
  color: #fff;
}
</style>
